package org.springblade.modules.admin.dto;

import lombok.Data;
import org.springblade.modules.admin.entity.ElevatorTlwBinding;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: Sharry
 * @createTime: 2024-11-15 10:09
 * @version: Version-1.0
 */
@Data
public class ElevatorTlwBindingListDTO {
	/**
	 * 操作类型： 1-绑定 2-解绑
	 */
	@NotNull(message = "操作类型不能为空")
	private Integer type;

	@NotEmpty(message = "绑定/解绑信息不能为空")
	private List<ElevatorTlwBinding> binding;

}
